package com.smvc.entities;

import java.util.ArrayList;
import java.util.List;

/**
 * 用户
 * @author lx
 *
 */
public class User {
	private Integer id;
	private String name;
	private String pwd;
	private String gender;
	private List<String> hobby = new ArrayList<>();
	private String city;
	private String desci;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public List<String> getHobby() {
		return hobby;
	}
	public void setHobby(List<String> hobby) {
		this.hobby = hobby;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getDesci() {
		return desci;
	}
	public void setDesci(String desci) {
		this.desci = desci;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", pwd=" + pwd + ", gender=" + gender + ", hobby=" + hobby
				+ ", city=" + city + ", desci=" + desci + "]";
	}
}
